package com.qf.service;

import com.qf.entity.Blogs;
import com.qf.entity.BlogsDTO;

import java.util.HashMap;
import java.util.List;

public interface BlogsService {
     List<Blogs> findAll();

     boolean addBlogs(Blogs blogs);

     boolean deleteBlogs(Integer id);

     boolean updateBlogs(Blogs blogs);

     boolean deleteBlogsBatch(List<Integer> ids);

     List<Blogs> findPage(BlogsDTO blogsDto);

    List<HashMap<String, Object>> findByTime(String time);

     void insertBatch(List<Blogs> list);


}
